package com.itheima.sky.mapper;

import com.itheima.sky.pojo.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description SetmealDishMapper
 * @Author oumei
 * @Date 2024-06-28
 */
@Mapper
public interface SetmealDishMapper {
    /**
     *
     * @param setmealDishes
     */
    void saveBatch(@Param("setmealDishes") List<SetmealDish> setmealDishes);

    /**
     * //3. 删除套餐对应的套餐菜品
     * @param ids
     */
    void deleteBySetmealIds(List<Long> ids);
}
